
	var http = require('http');  

var options = {
    hostname: '192.168.115.239', 
    path: '/jobs/4c8957a9-456a-4b2a-a022-54d82bf8091a',//+obj.job_uuid,
    method: 'GET',
	headers: {"Accept": "application/json"}
};  
  
var req = http.request(options, function (res) {
	var body = '';
    res.setEncoding('utf8');
    res.on('data',function(d){
        body += d;
    }).on('end', function(){
        console.log(JSON.parse(body).execution)
    });
}).on('error', function(e) {
    console.log("error: " + e.message);
})
req.end();  